{% extends "home.html" %}
{% load thoughts_tags %}
{% load pagination_tags %}

{% block title %} Archive - {{ block.super }} {% endblock %}
{% block ads%}
{% endblock %}


{% block content %}
    {% if thoughts %}
    <div class="row">
          
     {% autopaginate thoughts 4 %} 
     {% for t in thoughts %} 
            <div class="span12">
            {% thought t %}
             </div> 
     {% endfor %}
     
    <div class="span14">
            
     {% paginate %}
    </div>
    {% else %}
      <p> no thoughts were registered <p>
    {% endif %}
    </div> 
    
   
     
{% endblock %}    
